﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using XeBus.DataAccess;

namespace XeBus.BusinessLogic
{
    public class TimKiemBUS
    {
        private TimKiemDAO tkDAO = new TimKiemDAO();
        public TimKiemBUS()
        { 
        }

        public DataTable TimKiem(string sql)
        {
            return tkDAO.TimKiem(sql);
        }

        public DataTable LayDuLieuTheoID(string id)
        {
            return tkDAO.LayDuLieuTheoID(id);
        }

        public DataTable So_Hieu_Tuyen()
        {
            return tkDAO.So_Hieu_Tuyen();
        }

        public DataTable Select_LoTrinh_By_SoHieuTuyen(string so_hieu_tuyen)
        {
            return tkDAO.Select_LoTrinh_By_SoHieuTuyen(so_hieu_tuyen);
        }

        public DataTable Select_TenDuong_ByMaLoTrinh(string ma_lo_trinh)
        {
            return tkDAO.Select_TenDuong_ByMaLoTrinh(ma_lo_trinh);
        }

        public DataTable LayDuLieu(string id)
        {
            return tkDAO.LayDuLieu(id);
        }
    }
}
